package com.model;

import lombok.Data;

import java.util.Date;
@Data
public class Student {
    private long id;
    private String name;
    private String sno;
    private int age;
    private byte gender;
    private String enrollData;
    private long classId;
    private MyClass myClass;

    public MyClass getMyClass() {
        return myClass;
    }

    public void setMyClass(MyClass myClass) {
        this.myClass = myClass;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public byte getGender() {
        return gender;
    }

    public void setGender(byte gender) {
        this.gender = gender;
    }

    public String getEnrollData() {
        return enrollData;
    }

    public void setEnrollData(String enrollData) {
        this.enrollData = enrollData;
    }

    public long getClassId() {
        return classId;
    }

    public void setClassId(long classId) {
        this.classId = classId;
    }
}
